package org.dromara.dao.business.mapper;

import org.dromara.dao.business.domain.UserApiRecord;
import org.dromara.dao.business.domain.UserApiRecordQuery;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.page.PageQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import java.util.List;

/**
 * Mapper接口
 *
 * @date 2025-04-17 14:49:14
 */
public interface UserApiRecordMapper extends BaseMapper<UserApiRecord> {

    /**
     *  获取分页数据
     * @param query
     * @param page
     * @return
    */
    List<UserApiRecord> paginationSelectList(@Param("query")UserApiRecordQuery query, @Param("page")PageQuery page);
    /**
     *  获取分页数据总条数
     * @param query
     * @return
    */
    long paginationSelectCount(@Param("query")UserApiRecordQuery query);
}
